page.jsx 517 B

12345678910111213141516171819
  1. import PlaceholderPage from "@/components/placeholders/PlaceholderPage";
  2. /**
  3. * /:branch
  4. *
  5. * Next.js 15+ treats `params` as an async value (Promise) for dynamic routes.
  6. * We explicitly await it here to avoid "sync dynamic APIs" runtime errors.
  7. */
  8. export default async function BranchPage({ params }) {
  9. const resolvedParams = await params;
  10. return (
  11. <PlaceholderPage
  12. title="Branch"
  13. description="Branch dashboard placeholder (will become the explorer entry point)."
  14. params={resolvedParams}
  15. />
  16. );
  17. }